// es6 api 转译补丁
import 'babel-polyfill'
import Vue from 'vue'
import App from './App'
import router from './router'
import store from './store'
import 'common/stylus/index.styl'

// 解决移动端点击事件300毫秒延迟问题
import fastclick from 'fastclick'

// 懒加载功能
import VueLazyLoad from 'vue-lazyload'

/* eslint-disable no-unused-vars */
// import VConsole from 'vconsole'

fastclick.attach(document.body)

Vue.use(VueLazyLoad, {
    loading: require('common/image/default.png')
})

/* eslint-disable no-new */
new Vue({
    el: '#app',
    render: h => h(App),
    router,
    store
})
